package com.xinpu.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xinpu.dto.OrderBuyDto;
import org.apache.ibatis.annotations.Param;

/**
 * OrderBuyMapper
 *
 * @author ayuan
 * @date 2021/5/21
 */
public interface OrderBuyMapper {


    /**
     * 获取购买列表
     *
     * @param page
     * @param cid
     * @return
     */
    IPage<OrderBuyDto> getList(
            Page<OrderBuyDto> page,
            @Param("cid") Integer cid,
            @Param("orderId") String orderId,
            @Param("pid") Integer pid,
            @Param("start") String start,
            @Param("over") String over
    );

}
